package org.scirp.ijmis.service.personpaper;

import java.util.List;

import org.scirp.ijmis.po.personpaper.SendEmailLog;

public interface ISendEmailLogService {
	public List<SendEmailLog> selectAllByPaperId(Long paperId);

	public List<SendEmailLog> selectAllByPaperIdAndTypeId(Long paperId, Long emailTypeId);

	public boolean saveSendEmailLog(SendEmailLog sendEmailLog, String smtp, String sendFrom, String sendTo, String smtpName, String smtpPassword, String content, String subject) throws Exception;
	public Long saveSendEmailLog(SendEmailLog sendEmailLog);
	public List<SendEmailLog> selectAllByToEmail(String toEmail);
}
